Question Description
C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared
according to
the GATE exam syllabus. Information about C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam.
Find important definitions, questions, meanings, examples, exercises and tests below for C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer?.
Solutions for C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE.
Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of
C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer?, a detailed solution for C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an
ample number of questions to practice C What does the following fragment of c program print?#includeint main(){static int GATE[]={100,200,300,400,500};static int *ptr = {GATE+2,GATE,GATE+3,GATE+4,GATE+1}int **p = ptr;ptr++;printf("%d%d", ptr - p, **ptr};}The output of the program is______a)1100b)150c)160d)170Correct answer is option 'A'. Can you explain this answer? tests, examples and also practice GATE tests.